﻿using BuzzX8.Xmpp.StreamElements;

namespace BuzzX8.Xmpp.Connectivity
{
    public interface IXmppChannel
    {
        bool IsOpen { get; }
        void Open();
        void Close();

        void Send(StreamElement element);
        StreamElement Receive();
    }
}
